<html>
<head>
<script type="text/javascript"
  src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js">
</script>

<script type="text/javascript" src="jwplayer.js"></script>

</head>
<body>


<div id='container'>The player will be placed here</div>
<script type="text/javascript">
//http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/16022/controlling-the-player-using-javascript
  /*var flashvars = {

    file:'1.mov.mp4',
    //file:'out/207/1.mov.mp4',
    streamer:'rtmp://10.10.217.70/rtmp/',
    //controlbar:
    
    "controlbar.position": "top"
  };

  
  swfobject.embedSWF('player.swf','container','480','270','9.0.115','false', flashvars,

   {allowfullscreen:'true',allowscriptaccess:'always'},
   {id:'jwplayer',name:'jwplayer'}

  );
  */
  jwplayer("container").setup({
  "controlbar.position": "bottom",
    //file:'out/207/1.mov.mp4',
    //file:'1.mov.mp4',
    file:'we2.mp4',
    streamer:'rtmp://10.10.217.70/rtmp',
    flashplayer: "player.swf",
    height: 270,
    width: 480
  });  
  
 
</script>
<div style="overflow:auto;width:100%;height:300">
<ul>
  <li><a href="#" onclick="jwplayer().play();">Toggle the playback</a></li>
  <li><a href="#" onclick="jwplayer().setMute();">Toggle the audio</a></li>
  <li><a href="#" onclick="jwplayer().stop();">Stop playback</a></li>
  <li><a href="#" onclick="jwplayer().seek(10);">Go #10</a></li>
  <li><a href="#" onclick="jwplayer().play();">Toggle the playback</a></li>
  <li><a href="#" onclick="jwplayer().setMute();">Toggle the audio</a></li>
  <li><a href="#" onclick="jwplayer().stop();">Stop playback</a></li>
  <li><a href="#" onclick="jwplayer().seek(10);">Go #10</a></li>
  <li><a href="#" onclick="jwplayer().play();">Toggle the playback</a></li>
  <li><a href="#" onclick="jwplayer().setMute();">Toggle the audio</a></li>
  <li><a href="#" onclick="jwplayer().stop();">Stop playback</a></li>
  <li><a href="#" onclick="jwplayer().seek(10);">Go #10</a></li>
  <li><a href="#" onclick="jwplayer().play();">Toggle the playback</a></li>
  <li><a href="#" onclick="jwplayer().setMute();">Toggle the audio</a></li>
  <li><a href="#" onclick="jwplayer().stop();">Stop playback</a></li>
  <li><a href="#" onclick="jwplayer().seek(10);">Go #10</a></li>
  <li><a href="#" onclick="jwplayer().play();">Toggle the playback</a></li>
  <li><a href="#" onclick="jwplayer().setMute();">Toggle the audio</a></li>
  <li><a href="#" onclick="jwplayer().stop();">Stop playback</a></li>
  <li><a href="#" onclick="jwplayer().seek(10);">Go #10</a></li>
  <li><a href="#" onclick="jwplayer().play();">Toggle the playback</a></li>
  <li><a href="#" onclick="jwplayer().setMute();">Toggle the audio</a></li>
  <li><a href="#" onclick="jwplayer().stop();">Stop playback</a></li>
  <li><a href="#" onclick="jwplayer().seek(10);">Go #10</a></li>
  <li><a href="#" onclick="jwplayer().play();">Toggle the playback</a></li>
  <li><a href="#" onclick="jwplayer().setMute();">Toggle the audio</a></li>
  <li><a href="#" onclick="jwplayer().stop();">Stop playback</a></li>
  <li><a href="#" onclick="jwplayer().seek(10);">Go #10</a></li>  
  <li><a href="#" onclick="jwplayer().play();">Toggle the playback</a></li>
  <li><a href="#" onclick="jwplayer().setMute();">Toggle the audio</a></li>
  <li><a href="#" onclick="jwplayer().stop();">Stop playback</a></li>
  <li><a href="#" onclick="jwplayer().seek(10);">Go #10</a></li>  
</ul>
</div>
</body>
</html>


